package com.tox.dao.pojo;

/**
 * JavatoxUser entity. @author MyEclipse Persistence Tools
 */

public class JavatoxUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private String username;
	private String nickname;
	private String password;
	private String email;
	private String mobile;
	private String regTime;
	private String lastLoginTime;
	private int score;
	private String level;
	// Constructors

	/** default constructor */
	public JavatoxUser() {
	}

	/** full constructor */
	public JavatoxUser(String username, String password, String email,
			String mobile, String regTime, String lastLoginTime) {
		this.username = username;
		this.password = password;
		this.email = email;
		this.mobile = mobile;
		this.regTime = regTime;
		this.lastLoginTime = lastLoginTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getRegTime() {
		return this.regTime;
	}

	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}

	public String getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Override
	public String toString() {
		return "JavatoxUser [id=" + id + ", username=" + username
				+ ",nickname="+nickname+", password=" + password + ", email=" + email + ", mobile="
				+ mobile + ", regTime=" + regTime + ", lastLoginTime="
				+ lastLoginTime + ",score="+score+",level="+level+"]";
	}

}